Integration With VS Code

iRPGUnit is integrated in the IBM i Testing extension for VS Code. Unit test can be directly started from VS Code.

Install the extension from the VS Code marketplace to get started:

IBM i Testing Extension

Follow the IBM i Testing documentation to learn how to configure the extension:

Notice: It is essential to properly set the Test Source File and Test Source Directory properties on the preferences page. Otherwise the test cases to not show up in the Test Explorer.

Example Views

Test Explorer

VS Code Test Explorer

Test Result

VS Code Test Ergebnis

Configuration

iRPGUnit

Parameter XMLTYPE is set to *VSCODE1 by the IBM i Testing Extension.

Test Cases

VS Code Preferences